﻿@namespace BlazorStrap
@inherits BSModalBase


<DynamicElement @attributes="@UnknownParameters" style="@Styles"  TagName="div" class="@Classname" tabindex="-1" role="dialog" @onfocus="OnBackdropClick" @bind-ElementRef="MyRef" >
    <div class="@InnerClassname" role="document"  tabindex="-2">
        <div class="modal-content"  @ref="Me">
            @ChildContent
        </div>
    </div>
</DynamicElement>
@if (!NoBackdrop)
{
    <div class="modal-backdrop fade @((IsOpen ?? false) ? "show" : "d-none")" ></div>
}
